PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Window Attribute Constants

The ThemeWindowAttributes enumeration defines masks your application can use to specify the various interface elements that a given window contains. The ThemeWindowAttributes constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeWindowHasGrow                 = (1 << 0),
    kThemeWindowHasHorizontalZoom       = (1 << 3),
    kThemeWindowHasVerticalZoom         = (1 << 4),
    kThemeWindowHasFullZoom             = kThemeWindowHasHorizontalZoom
                                         + kThemeWindowHasVerticalZoom,
    kThemeWindowHasCloseBox             = (1 << 5),
    kThemeWindowHasCollapseBox          = (1 << 6),
    kThemeWindowHasTitleText            = (1 << 7),
    kThemeWindowIsCollapsed             = (1 << 8)
};
typedef UInt32 ThemeWindowAttributes;

Constant descriptions

kThemeWindowHasGrow
If the bit specified by this mask is set, the window contains a size box.
kThemeWindowHasHorizontalZoom
If the bit specified by this mask is set, the window contains a horizontal zoom box.
kThemeWindowHasVerticalZoom
If the bit specified by this mask is set, the window contains a vertical zoom box.
kThemeWindowHasFullZoom
If the bit specified by this mask is set, the window contains a full (horizontal and vertical) zoom box.
kThemeWindowHasCloseBox
If the bit specified by this mask is set, the window contains a close box.
kThemeWindowHasCollapseBox
If the bit specified by this mask is set, the window contains a collapse box.
kThemeWindowHasTitleText
If the bit specified by this mask is set, the window contains a title.
kThemeWindowIsCollapsed
If the bit specified by this mask is set, the window is currently collapsed.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)